<div class="divColorbox">
    <div class="divColorbox_Header">
        <span><i class="fa fa-star"></i><span>艺人信息</span></span>
        <a class="Refresh"></a><a class="Close"></a>
    </div>
    <div class="divColorbox_Body row">
        <ul id="MenuTabs" class="nav nav-tabs">
            <li><a data-toggle="tab" href="#MenuTabs_Base">基本信息</a></li>
            <li><a data-toggle="tab" href="#MenuTabs_Operation" data-permission-code="{Base}[Log](Anchor-Operation-List)">操作日志</a></li>
        </ul>
        <div class="tab-content">
            <div id="MenuTabs_Base" class="tab-pane">
                <div class="row">
                    <div class="col-sm-6">
                        <div class="input-group">
                            <span class="input-group-addon">用户ID</span>
                            <input id="User_ID" type="text" class="form-control" readonly/>
                            <span id="OAuth_QQ_ID" class="input-group-addon hidden" data-rel="tooltip" data-placement="bottom" data-original-title="QQ登录已绑定">
                                <i class="fa fa-qq text-primary"></i>
                            </span>
                            <span id="OAuth_Weixin_ID" class="input-group-addon hidden" data-rel="tooltip" data-placement="bottom" data-original-title="微信登录已绑定">
                                <i class="fa fa-weixin text-success"></i>
                            </span>
                            <span id="OAuth_Weibo_ID" class="input-group-addon hidden" data-rel="tooltip" data-placement="bottom" data-original-title="微博登录已绑定">
                                <i class="fa fa-weibo text-danger"></i>
                            </span>
                            <span class="input-group-btn">
                                <a id="IsFamily" class="btn btn-sm btn-info hidden" data-rel="tooltip" data-placement="bottom" data-original-title="家族帐号">家</a>
                                <a id="IsAdmin" class="btn btn-sm btn-danger hidden" data-rel="tooltip" data-placement="bottom" data-original-title="管理员帐号">管</a>
                                <a id="UserAvatar" target="_blank" class="btn btn-sm" data-rel="tooltip" data-placement="left" data-original-title="艺人头像" data-trigger="hover"><i class="fa fa-picture-o"></i></a>
                                <a id="UserCover" target="_blank" class="btn btn-sm btn-warning" data-rel="tooltip" data-placement="left" data-original-title="艺人封面" data-trigger="hover"><i class="fa fa-picture-o"></i></a>
                            </span>
                        </div>
                    </div>
                    <div class="col-sm-3">
                        <div class="input-group">
                            <span class="input-group-addon">状态</span>
                            <input id="Status_Name" type="text" class="form-control" readonly/>
                            <span class="input-group-addon">
                                <i id="Status" class="fa"></i>
                            </span>
                        </div>
                    </div>
                    <div class="col-sm-3">
                        <div class="input-group">
                            <span class="input-group-addon">是否直播</span>
                            <input id="Live_Name" type="text" class="form-control" readonly/>
                              <span class="input-group-addon">
                                <i id="Live" class="fa"></i>
                            </span>
                        </div>
                    </div>
                </div>
                <div class="space-6"></div>
                <div class="row">
                    <div class="col-sm-3">
                        <div class="input-group">
                            <span class="input-group-addon">艺人昵称</span>
                            <input id="NickName" type="text" class="form-control" readonly/>
                        </div>
                    </div>
                    <div class="col-sm-3">
                        <div class="input-group">
                            <span class="input-group-addon">真实姓名</span>
                            <input id="RealName" type="text" class="form-control" readonly/>
                        </div>
                    </div>
                    <div class="col-sm-3">
                        <div class="input-group">
                            <span class="input-group-addon">性别</span>
                            <input id="Sex" type="text" class="form-control" readonly/>
                        </div>
                    </div>
                    <div class="col-sm-3">
                        <div class="input-group">
                            <span class="input-group-addon">联系电话</span>
                            <input id="Phone" type="text" class="form-control" readonly/>
                        </div>
                    </div>
                </div>
                <div class="space-6"></div>
                <div class="row">
                    <div class="col-sm-3">
                        <div class="input-group">
                            <span class="input-group-addon">邮箱</span>
                            <input id="Email" type="text" class="form-control" readonly/>
                        </div>
                    </div>
                    <div class="col-sm-3">
                        <div class="input-group">
                            <span class="input-group-addon">QQ</span>
                            <input id="QQ" type="text" class="form-control" readonly/>
                        </div>
                    </div>
                    <div class="col-sm-3">
                        <div class="input-group">
                            <span class="input-group-addon">直播单号</span>
                            <input id="Live_Order_No" type="text" class="form-control" value="无" readonly/>
                            <span class="input-group-btn hidden" data-permission-code="{Order}[Room](Live-Info)">
                                <a id="Live_Order_No_Info" class="btn btn-sm"><i class="fa fa-search"></i></a>
                            </span>
                        </div>
                    </div>

                    <div class="col-sm-3">
                        <div class="input-group">
                            <span class="input-group-addon">标签</span>
                            <input id="Tags" type="text" class="form-control" readonly/>
                        </div>
                    </div>
                </div>
                <div class="space-6"></div>
                <div class="row">
                    <div class="col-sm-3">
                        <div class="input-group">
                            <span class="input-group-addon">金币</span>
                            <input id="Coin" type="text" class="form-control" readonly/>
                        </div>
                    </div>
                    <div class="col-sm-3">
                        <div class="input-group">
                            <span class="input-group-addon">金豆</span>
                            <input id="Beans" type="text" class="form-control" readonly/>
                        </div>
                    </div>
                    <div class="col-sm-3">
                        <div class="input-group">
                            <span class="input-group-addon">艺人评级</span>
                            <input id="Rating" type="text" class="form-control" readonly/>
                        </div>
                    </div>
                    <div class="col-sm-3">
                        <div class="input-group">
                            <span class="input-group-addon">是否推荐</span>
                            <input id="IsRecommend" type="text" class="form-control" readonly/>
                        </div>
                    </div>
                </div>
                <div class="space-6"></div>
                <div class="row">
                    <div class="col-sm-3">
                        <div class="input-group">
                            <span class="input-group-addon">开户银行</span>
                            <input id="Account_BankName" type="text" class="form-control" readonly/>
                        </div>
                    </div>
                    <div class="col-sm-3">
                        <div class="input-group">
                            <span class="input-group-addon">银行全称</span>
                            <input id="Account_BankFullName" type="text" class="form-control" readonly/>
                        </div>
                    </div>
                    <div class="col-sm-3">
                        <div class="input-group">
                            <span class="input-group-addon">开户人</span>
                            <input id="Account_RealName" type="text" class="form-control" readonly/>
                        </div>
                    </div>
                    <div class="col-sm-3">
                        <div class="input-group">
                            <span class="input-group-addon">开户帐号</span>
                            <input id="Account_CardNo" type="text" class="form-control" readonly/>
                        </div>
                    </div>
                </div>
                <div class="space-6"></div>
                <div class="row">
                    <div class="col-sm-3">
                        <div class="input-group">
                            <span class="input-group-addon">行所在省</span>
                            <input id="Account_Province" type="text" class="form-control" readonly/>
                        </div>
                    </div>
                    <div class="col-sm-3">
                        <div class="input-group">
                            <span class="input-group-addon">行所在市</span>
                            <input id="Account_City" type="text" class="form-control" readonly/>
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <div class="input-group">
                            <span class="input-group-addon">实名证件</span>
                            <input id="IDCard" type="text" class="form-control" readonly/>
                            <span class="input-group-addon" data-rel="tooltip" data-placement="left">
                                <i id="IDCard_Status" class="fa"></i>
                            </span>
                            <span class="input-group-btn hidden" data-permission-code="{User}[Base](Info-IDCard)">
                                <a id="IDCard_A" class="btn btn-sm btn-info" target="_blank">正面</a>
                                <a id="IDCard_B" class="btn btn-sm" target="_blank">背面</a>
                            </span>
                        </div>
                    </div>
                </div>
                <div class="space-6"></div>
                <div class="row">
                    <div class="col-sm-3">
                        <div class="input-group">
                            <span class="input-group-addon">所属家族</span>
                            <input id="Family_ID" type="text" class="form-control" value="无" readonly/>
                            <span class="input-group-btn hidden" data-permission-code="{User}[Family](Info)">
                                <a id="Family_ID_Info" class="btn btn-sm"><i class="fa fa-search"></i></a>
                            </span>
                        </div>
                    </div>
                    <div class="col-sm-3">
                        <div class="input-group">
                            <span class="input-group-addon">家族提成</span>
                            <input id="Family_Commission" type="text" class="form-control" readonly/>
                        </div>
                    </div>
                    <div class="col-sm-3">
                        <div class="input-group">
                            <span class="input-group-addon">经验</span>
                            <input id="EXP" type="text" class="form-control" readonly/>
                        </div>
                    </div>
                    <div class="col-sm-3">
                        <div class="input-group">
                            <span class="input-group-addon">上一轮热度排名</span>
                            <input id="HotValue_Ranking" type="text" class="form-control" data-rel="tooltip" data-html="true" readonly/>
                        </div>
                    </div>
                </div>
                <div class="space-6"></div>
                <div class="row">
                    <div class="col-sm-3">
                        <div class="input-group">
                            <span class="input-group-addon">活动数值</span>
                            <input id="ActivityNum" type="text" class="form-control" readonly/>
                        </div>
                    </div>
                    <div class="col-sm-3">
                        <div class="input-group">
                            <span class="input-group-addon">星星数量</span>
                            <input id="Pomelo" type="text" class="form-control" data-rel="tooltip" data-html="true" readonly/>
                        </div>
                    </div>
                    <div class="col-sm-3">
                        <div class="input-group">
                            <span class="input-group-addon">保护时间</span>
                            <input id="ProtectDue_Date" type="text" class="form-control" readonly/>
                        </div>
                    </div>
                    <div class="col-sm-3">
                        <div class="input-group">
                            <span class="input-group-addon">上周周星</span>
                            <input id="IsWeekStar" type="text" class="form-control" readonly/>
                        </div>
                    </div>
                </div>
                <div class="space-6"></div>
                <div class="row">
                    <div class="col-sm-3">
                        <div class="input-group">
                            <span class="input-group-addon">最近直播模式</span>
                            <input id="Live_Mode_Name" type="text" class="form-control" readonly/>
                            <span class="input-group-addon">
                                <i id="Live_Mode" class="fa"></i>
                            </span>
                        </div>
                    </div>
                    <div class="col-sm-3">
                        <div class="input-group">
                            <span class="input-group-addon">直播标题</span>
                            <input id="RoomTitle" type="text" class="form-control" data-rel="tooltip" data-html="true" readonly/>
                        </div>
                    </div>
                    <div class="col-sm-3">
                        <div class="input-group">
                            <span class="input-group-addon">最近开播时间</span>
                            <input id="Live_StartTime" type="text" class="form-control" readonly/>
                        </div>
                    </div>
                    <div class="col-sm-3">
                        <div class="input-group">
                            <span class="input-group-addon">第一次开播时间</span>
                            <input id="Live_FirstDate" type="text" class="form-control" readonly/>
                        </div>
                    </div>
                </div>
                <div class="space-6"></div>
                <div class="row">
                    <div class="col-sm-3">
                        <div class="input-group">
                            <span class="input-group-addon">总时长</span>
                            <input id="Live_Duration_Total" type="text" class="form-control" readonly/>
                        </div>
                    </div>
                    <div class="col-sm-3">
                        <div class="input-group">
                            <span class="input-group-addon">评级时间</span>
                            <input id="Rating_Date" type="text" class="form-control" readonly/>
                        </div>
                    </div>
                    <div class="col-sm-3">
                        <div class="input-group">
                            <span class="input-group-addon">总罚分</span>
                            <input id="Integral" type="text" class="form-control" data-rel="tooltip" data-html="true" readonly/>
                        </div>
                    </div>
                    <div class="col-sm-3">
                        <div class="input-group">
                            <span class="input-group-addon">艺人评分</span>
                            <input id="Score" type="text" class="form-control" data-rel="tooltip" data-html="true" readonly/>
                        </div>
                    </div>
                </div>
                <div class="space-6"></div>
                <div class="row">
                    <div class="col-sm-3">
                        <div class="input-group">
                            <span class="input-group-addon">评级底薪</span>
                            <input id="Rating_Salary" type="text" class="form-control" readonly/>
                        </div>
                    </div>
                    <div class="col-sm-3">
                        <div class="input-group">
                            <span class="input-group-addon">评级任务兑换</span>
                            <input id="Rating_Task_Beans" type="text" class="form-control" readonly/>
                        </div>
                    </div>
                    <div class="col-sm-3">
                        <div class="input-group">
                            <span class="input-group-addon">评级任务有效天数</span>
                            <input id="Rating_Task_LiveDay" type="text" class="form-control" readonly/>
                        </div>
                    </div>
                    <div class="col-sm-3">
                        <div class="input-group">
                            <span class="input-group-addon">评级任务有效时长</span>
                            <input id="Rating_Task_LiveDuration" type="text" class="form-control" readonly/>
                        </div>
                    </div>
                </div>
                <div class="space-6"></div>
                <div class="row">
                    <div class="col-sm-3">
                        <div class="input-group">
                            <span class="input-group-addon">通过申请管理员</span>
                            <input id="Approve_RealName" type="text" class="form-control" value="无" readonly/>
                            <span class="input-group-btn hidden" data-permission-code="{User}[Admin](Info)">
                                <a id="Approve_RealName_Info" class="btn btn-sm"><i class="fa fa-search"></i></a>
                            </span>
                        </div>
                    </div>
                    <div class="col-sm-3">
                        <div class="input-group">
                            <span class="input-group-addon">审核艺人时间</span>
                            <input id="Approve_Date" type="text" class="form-control" readonly/>
                        </div>
                    </div>
                    <div class="col-sm-3">
                        <div class="input-group">
                            <span class="input-group-addon">封面通过管理员</span>
                            <input id="Cover_RealName" type="text" class="form-control" value="无" readonly/>
                            <span class="input-group-btn hidden" data-permission-code="{User}[Admin](Info)">
                                <a id="Cover_RealName_Info" class="btn btn-sm"><i class="fa fa-search"></i></a>
                            </span>
                        </div>
                    </div>
                    <div class="col-sm-3">
                        <div class="input-group">
                            <span class="input-group-addon">审核封面时间</span>
                            <input id="Cover_Date" type="text" class="form-control" readonly/>
                        </div>
                    </div>
                </div>
                <div class="space-6"></div>
                <div class="row">
                    <div class="col-sm-3">
                        <div class="input-group">
                            <span class="input-group-addon">负责人姓名</span>
                            <input id="Duty_RealName" type="text" class="form-control" value="无" readonly/>
                            <span class="input-group-btn hidden" data-permission-code="{User}[Admin](Info)">
                                <a id="Duty_RealName_Info" class="btn btn-sm"><i class="fa fa-search"></i></a>
                            </span>
                        </div>
                    </div>
                    <div class="col-sm-3">
                        <div class="input-group">
                            <span class="input-group-addon">创建日期</span>
                            <input id="Create_Date" type="text" class="form-control" data-rel="tooltip" data-html="true" readonly/>
                        </div>
                    </div>
                    <div class="col-sm-3">
                        <div class="input-group">
                            <span class="input-group-addon">IP地址</span>
                            <input id="Create_IP" type="text" class="form-control" data-rel="tooltip" data-html="true" readonly/>
                        </div>
                    </div>
                    <div class="col-sm-3">
                        <div class="input-group">
                            <span class="input-group-addon">常使用线路</span>
                            <input id="Network" type="text" class="form-control" data-rel="tooltip" data-html="true" readonly/>
                        </div>
                    </div>
                </div>
            </div>
            <div id="MenuTabs_Operation" class="tab-pane">
            </div>
        </div>
    </div>
    <div class="divColorbox_Footer">
        <div id="divPaginate_Operation" class="Paginate" MenuTabs="#MenuTabs_Operation"></div>
        <button type="button" id="btnEdit" class="btn btn-info" MenuTabs="#MenuTabs_Base" RightCode="{User}[Anchor](Edit)">
            <i class="fa fa-pencil"></i> 修改资料
        </button>
        <button type="button" id="btnUndo"></button>
    </div>
</div>
<script src="<%- Virtual_Path.Static %>jquery.plugin/dataTables/jquery.dataTables.min.js"></script>
<script src="<%- Virtual_Path.Static %>jquery.plugin/dataTables/jquery.dataTables.bootstrap.min.js"></script>
<script>
    $(function () {
        //region 判断flag
        if (_PageData.flag !== 0) {
            $.KOC.Tips.Open('Error', _PageData.flag, {
                Timeout: 1000,
                onClose: function () {
                    parent.$.colorbox.close();
                }
            });
            return;
        }
        //endregion
        //region 页面数据绑定
        $('#User_ID').val(_PageData.User_ID);
        if (_PageData.User_Info.OAuth_QQ_ID) {
            $('#OAuth_QQ_ID').removeClass('hidden');
        }
        if (_PageData.User_Info.OAuth_Weixin_ID) {
            $('#OAuth_Weixin_ID').removeClass('hidden');
        }
        if (_PageData.User_Info.OAuth_Weibo_ID) {
            $('#OAuth_Weibo_ID').removeClass('hidden');
        }
        if (_PageData.User_Info.IsAdmin) {
            $('#IsAdmin').attr('data-openwindow', ':UserAdminInfo:' + _PageData.User_ID).removeClass('hidden');
        }
        if (_PageData.User_Info.IsFamily) {
            $('#IsFamily').attr('data-openwindow', ':FamilyInfo:' + _PageData.User_Anchor.Family_ID).removeClass('hidden');
        }
        $('#UserAvatar').attr('href', $.Common.ImageBind.UserAvatar.fnURL(_PageData.User_ID, '-1.-1'));
        $('#UserCover').attr('href', $.Common.ImageBind.UserCover.fnURL(_PageData.User_ID, '-1.-1'));
        $('#Family_Commission').val(_PageData.User_Anchor.Family_Commission);
        $('#Tags').val(_PageData.User_Anchor.Tags);
        $('#ActivityNum').val(_PageData.User_Anchor.ActivityNum);
        $('#Live_IsMobile').val(_PageData.User_Anchor.Live_IsMobile);
        $('#Live_Duration_Total').val(_PageData.User_Anchor.Live_Duration_Total + "分钟");
        $('#Live_Stream_Status').val(_PageData.User_Anchor.Live_Stream_Status);
        $('#Phone').val(_PageData.User_Anchor.Phone);
        $('#Email').val(_PageData.User_Anchor.Email);
        $('#QQ').val(_PageData.User_Anchor.QQ);
        $('#Network').val(_PageData.User_Anchor.Network);
        $('#Rating_Salary').val(_PageData.User_Anchor.Rating_Salary);
        $('#Rating_Task_Beans').val(_PageData.User_Anchor.Rating_Task_Beans);
        $('#Rating_Task_LiveDay').val(_PageData.User_Anchor.Rating_Task_LiveDay);
        $('#Rating_Task_LiveDuration').val(_PageData.User_Anchor.Rating_Task_LiveDuration);
        $('#Create_IP').val(_PageData.User_Anchor.Create_IP);
        $('#Network').val(_PageData.User_Anchor.Network == 1 ? "电信" : "未知");
        // user_info 公共信息
        $('#Account_BankName').val(_PageData.User_Info.Account_BankName);
        $('#Account_BankFullName').val(_PageData.User_Info.Account_BankFullName);
        $('#Account_CardNo').val(_PageData.User_Info.Account_CardNo);
        $('#Account_City').val(_PageData.User_Info.Account_City);
        $('#Account_Province').val(_PageData.User_Info.Account_Province);
        $('#Account_RealName').val(_PageData.User_Info.Account_RealName);
        $('#NickName').val(_PageData.User_Info.NickName);
        $('#RealName').val(_PageData.User_Info.RealName);
        $('#IDCard').val(_PageData.User_Info.IDCard);
        $('#Coin').val(_PageData.User_Info.Coin);
        $('#Beans').val(_PageData.User_Info.Beans);

        if (_PageData.User_Anchor.Live_Order_No) {
            $('#Live_Order_No').val(_PageData.User_Anchor.Live_Order_No);
            $('#Live_Order_No_Info').attr('data-openwindow', _PageData.User_Anchor.Live_Order_No).parent().removeClass('hidden');
        }
        if (_PageData.User_Anchor.Family_ID > 0) {
            $('#Family_ID').val(_PageData.User_Anchor.Family_ID);
            $('#Family_ID_Info').attr('data-openwindow', ':FamilyInfo:' + _PageData.User_Anchor.Family_ID).parent().removeClass('hidden');
        }
        if (_PageData.User_Anchor.Approve_Admin_ID > 0) {
            $('#Approve_RealName').val(_PageData.User_Anchor.Approve_RealName);
            $('#Approve_RealName_Info').attr('data-openwindow', ':UserAdminInfo:' + _PageData.User_Anchor.Approve_Admin_ID).parent().removeClass('hidden');
        }
        if (_PageData.User_Anchor.Duty_Admin_ID > 0) {
            $('#Duty_RealName').val(_PageData.User_Anchor.Duty_RealName);
            $('#Duty_RealName_Info').attr('data-openwindow', ':UserAdminInfo:' + _PageData.User_Anchor.Duty_Admin_ID).parent().removeClass('hidden');
        }
        if (_PageData.User_Anchor.Cover_Admin_ID > 0) {
            $('#Cover_RealName').val(_PageData.User_Anchor.Cover_RealName);
            $('#Cover_RealName_Info').attr('data-openwindow', ':UserAdminInfo:' + _PageData.User_Anchor.Cover_Admin_ID).parent().removeClass('hidden');
        }
        $('#EXP').val(_PageData.User_Anchor.EXP + ' / ' + _PageData.User_Anchor.Level_Name + '(' + _PageData.User_Anchor.Level + ')');
        $('#HotValue_Ranking').val(_PageData.User_Anchor.HotValue_Ranking).attr('data-original-title', '上一轮热度值：' + _PageData.User_Anchor.HotValue);
        if (_PageData.User_Anchor.RoomTitle) {
            $('#RoomTitle').val(_PageData.User_Anchor.RoomTitle).attr('data-original-title',
                    '房间名称：' + _PageData.User_Anchor.RoomName +
                    '<br/>房间欢迎语：' + _PageData.User_Anchor.RoomWelcome +
                    '<br/>房间模版：' + _PageData.User_Anchor.RoomTemplate +
                    '<br/>房间公告：' + _PageData.User_Anchor.RoomNotice
            );
        }
        if (_PageData.User_Anchor.Pomelo) {
            $('#Pomelo').val(_PageData.User_Anchor.Pomelo).attr('data-original-title',
                    '当天星星数：' + _PageData.User_Anchor.Pomelo_Today +
                    '<br/>本周星星数：' + _PageData.User_Anchor.Pomelo_Week +
                    '<br/>本月星星数：' + _PageData.User_Anchor.Pomelo_Month +
                    '<br/>本年星星数：' + _PageData.User_Anchor.Pomelo_Year
            );
        }
        if (_PageData.User_Anchor.Score) {
            $('#Score').val(_PageData.User_Anchor.Score).attr('data-original-title',
                    '上一次艺人评分：' + _PageData.User_Anchor.Score_Last +
                    '<br/>金币数评分：' + _PageData.User_Anchor.Score_Coin +
                    '<br/>金币数上次评分：' + _PageData.User_Anchor.Score_Coin_Last +
                    '<br/>注册数评分：' + _PageData.User_Anchor.Score_SignUp +
                    '<br/>注册数上次评分：' + _PageData.User_Anchor.Score_SignUp_Last
            );
        }
        if (_PageData.User_Anchor.Integral) {
            $('#Integral').val(_PageData.User_Anchor.Integral).attr('data-original-title',
                    '本月罚分：' + _PageData.User_Anchor.Integral_Month +
                    '<br/>上个月罚分：' + _PageData.User_Anchor.Integral_Month_Last +
                    '<br/>本周罚分：' + _PageData.User_Anchor.Integral_Week +
                    '<br/>上周罚分：' + _PageData.User_Anchor.Integral_Week_Last +
                    '<br/>罚分最新时间：' + moment(_PageData.User_Anchor.Integral_Date).format("YYYY/MM/DD HH:mm:ss")
            );
        }
        $('#Live_StartTime').val(moment(_PageData.User_Anchor.Live_StartTime).isValid() ? moment(_PageData.User_Anchor.Live_StartTime).format('YYYY/MM/DD HH:mm:ss') : '无');
        $('#Live_Stream_LastDate').val(moment(_PageData.User_Anchor.Live_Stream_LastDate).isValid() ? moment(_PageData.User_Anchor.Live_Stream_LastDate).format('YYYY/MM/DD HH:mm:ss') : '无');
        $('#ProtectDue_Date').val(moment(_PageData.User_Anchor.ProtectDue_Date).isValid() ? moment(_PageData.User_Anchor.ProtectDue_Date).format('YYYY/MM/DD HH:mm:ss') : '无');
        $('#Rating_Date').val(moment(_PageData.User_Anchor.Rating_Date).isValid() ? moment(_PageData.User_Anchor.Rating_Date).format('YYYY/MM/DD HH:mm:ss') : '无');
        $('#Live_FirstDate').val(moment(_PageData.User_Anchor.Live_FirstDate).isValid() ? moment(_PageData.User_Anchor.Live_FirstDate).format('YYYY/MM/DD HH:mm:ss') : '无');
        $('#Approve_Date').val(moment(_PageData.User_Anchor.Approve_Date).isValid() ? moment(_PageData.User_Anchor.Approve_Date).format('YYYY/MM/DD HH:mm:ss') : "无");
        $('#Cover_Date').val(moment(_PageData.User_Anchor.Cover_Date).isValid() ? moment(_PageData.User_Anchor.Cover_Date).format('YYYY/MM/DD HH:mm:ss') : "无");
        $('#Create_Date').val(moment(_PageData.User_Anchor.Create_Date).isValid() ? moment(_PageData.User_Anchor.Create_Date).format('YYYY/MM/DD HH:mm:ss') : "无");
        switch (_PageData.User_Anchor.Rating) {
            case -1:
                $('#Rating').val('未评').css('color', '#e7e7e7');
                break;
            case 6:
                $('#Rating').val('无评').css('color', '#87b87f');
                break;
            case 7:
                $('#Rating').val('C级').css('color', '#428bca');
                break;
            case 8:
                $('#Rating').val('B级').css('color', '#9585bf');
                break;
            case 9:
                $('#Rating').val('A级').css('color', '#f89406');
                break;
            case 10:
                $('#Rating').val('S级').css('color', '#d15b47');
                break;
            default:
                $('#Rating').val('未知').css('color', '#abbac3');
                break;
        }
        switch (_PageData.User_Anchor.Live_Mode) {
            case 0:
                $('#Live_Mode_Name').val('PC直播');
                $('#Live_Mode').addClass('fa-desktop green');
                break;
            case 11:
                $('#Live_Mode_Name').val('手机竖屏直播');
                $('#Live_Mode').addClass('fa-tablet red');
                break;
            case 12:
                $('#Live_Mode_Name').val('手机横屏直播');
                $('#Live_Mode').addClass('fa-laptop yellow');
                break;
            default:
                $('#Live_Mode_Name').val('未知');
                $('#Live_Mode').addClass('fa-question');
                break;
        }
        switch (_PageData.User_Anchor.Status) {
            case 0:
                $('#Status_Name').val('正常');
                $('#Status').addClass('fa-check green');
                break;
            case 1:
                $('#Status_Name').val('锁定');
                $('#Status').addClass('fa-lock red');
                break;
            case 2:
                $('#Status_Name').val('申请');
                $('#Status').addClass('fa-hourglass-end yellow');
                break;
            case 3:
                $('#Status_Name').val('拒绝');
                $('#Status').addClass('fa-times grey');
                break;
            default:
                $('#Status_Name').val('未知');
                $('#Status').addClass('fa-question');
                break;
        }
        switch (_PageData.User_Anchor.Live) {
            case 0:
                $('#Live_Name').val('否');
                $('#Live').addClass('fa-pause-circle red');
                break;
            case 1:
                $('#Live_Name').val('是');
                $('#Live').addClass('fa-play-circle green');
                break;
            default:
                $('#Live_Name').val('未知');
                $('#Live').addClass('fa-question');
                break;
        }
        switch (_PageData.User_Anchor.IsRecommend) {
            case 0:
                $('#IsRecommend').val('否').addClass('red');
                break;
            case 1:
                $('#IsRecommend').val('是').addClass('green');
                break;
            default:
                $('#IsRecommend').val('未知');
                break;
        }
        switch (_PageData.User_Anchor.IsWeekStar) {
            case 0:
                $('#IsWeekStar').val('否').addClass('red');
                break;
            case 1:
                $('#IsWeekStar').val('是').addClass('green');
                break;
            default:
                $('#IsWeekStar').val('未知');
                break;
        }
        switch (_PageData.User_Info.IDCard_Status) {
            case 0:
                $('#IDCard_Status').addClass('fa-check green').parent().attr('data-origin-title', '实名通过：时间XXXX');
                break;
            case 1:
                $('#IDCard_Status').addClass('fa-clock-o').parent().attr('data-origin-title', '等待实名审核');
                break;
            case 2:
                $('#IDCard_Status').addClass('fa-ban red').parent().attr('data-origin-title', '实名审核驳回');
                break;
            case -1:
                $('#IDCard_Status').addClass('fa-times').parent().attr('data-origin-title', '未提交实名信息');
                break;
            default:
                $('#IDCard_Status').addClass('fa-question').parent().attr('data-origin-title', '未知状态');
                break;
        }
        if (_.includes([0, 1, 2], _PageData.User_Info.IDCard_Status)) {
            $('#IDCard_A').attr('href', $.Common.ImageBind.UserIDCard.fnURL(_PageData.User_ID, "a")).parent().removeClass('hidden');
            $('#IDCard_B').attr('href', $.Common.ImageBind.UserIDCard.fnURL(_PageData.User_ID, "b"));
        }
        switch (_PageData.User_Info.Sex) {
            case 1:
                $('#Sex').val('男');
                break;
            case 2:
                $('#Sex').val('女');
                break;
            default:
                $('#Sex').val('未知');
                break;
        }
        //endregion
    })
</script>